package com.gugee.ins.common.model.spider.comment;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

/**
 * spider by userId
 * @author Huangxin
 */
@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class InsMediaCommentsResponse {
    private CommentData data;
    private String status;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class CommentData{
        @JsonProperty("shortcode_media")
        ShortCodeMedia shortCodeMedia;
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ShortCodeMedia{
        @JsonProperty("edge_media_to_parent_comment")
        EdgeMediaCommentBody edgeMediaToParentComment;
    }
}
